<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>职位数据</title>
</head>
<body>
<div id="main_box">
        <!--导航开始-->
    <div class="crumb_warp">
        <i class="fa fa-home"></i> <a href="{{url('admin')}}">首页</a> &raquo; 讯搜管理
    </div>
<!--导航结束-->

<!--列表开始-->
    <div class="result_wrap">
        <div class="result_title">
            <h3>讯搜-职位数据-平滑更新：</h3>

        </div>
    </div>
    <div id="content_log" class="result_wrap"></div>
<!--列表结束-->
</div>
    <script type="text/javascript" src="{{asset('/default/js/jquery.js')}}"></script>
    <script type="text/javascript">

            function read_log(storeAll){
                $.post(
                        '/admin/read_log',
                        {
                            '_token':'{{csrf_token()}}',
                            'storeAll':storeAll
                        },
                        function(data)
                        {
                            $("#content_log").html(data.data);
                            var documentHeight = $(document).height();
                            //console.log(documentHeight);
                            $("html,body").stop().animate({ scrollTop: documentHeight },0);
                        }
                );
            }
            read_log(2);//与平滑更新操作异步执行,2为职位
        @if($result == 1)
            window.location.href="insert_job?page={{$page}}&cms_total={{$cms_total}}&cms_total_ok={{$cms_total_ok}}&cms_total_failed={{$cms_total_failed}}";
        @endif
    </script>
</body>
</html>